export const findById = async (id: string) => {
    console.log(`/api/music?id=${id}`);
    return await $fetch(`/api/music?id=${id}`)
}

export const findByRandom = async (size: number) => {
    return await $fetch(`/api/music?random=${size}`)
}

